* {
	margin: 0;
	padding: 0;
	border: 0;
}

html, body {
	font-family: "Comic Sans MS", Verdana, Arial, Helvetica, sans-serif;
	color: black;
	background: #DCDCDC;
	text-align: center;
	line-height: 1.5em;
	min-height: 100%;
	height: 100%;
	position: relative;
}
#container {
	width: 1024px;
	background: #DCDCDC;
	position: relative;
	min-height: 900px;
	margin: 0 auto 0;
}

#header {
	width: 1024px;
	height: 50px;
    background: #BEBEBE;
	color: blue;
	position: relative;
}

/* SEARCH */

#search {
	width: 200px;
	height: 20px;
	float: right;
	background: white;
	margin: 4px 0px 0px;
	color: black;
    border: 2px solid black;  /* Параметры рамки */
    padding: 7px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

/* MAIN MENU */

#main_menu{
	width: 1024px;
	height: 35px;
	margin: 0px auto 0;
	position: absolute;
	bottom: 0;
}

#main_menu ul {
list-style-type: none;
}
#main_menu li {
	display: inline;
    float: left;
	margin: 0 18px ;
}
#main_menu li a {
	color: black;
}
#main_menu li a:hover {
	color: blue;
}
a {
	text-decoration: none;
}

/* LEFT BLOCKS 

#left_side {
	width: 225px;
	margin: 15px auto 0; 
	height: 300px;
	float: left;
	background: #2E8B57; 
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	border-bottom-left-radius: 30px;
	border-bottom-right-radius: 30px;
}

#second_left_side {
	clear: both;
	width: 225px;
	margin: 25px auto 0;  
	height: 300px;
	float: left;
	background: #8B4513;
	color: blue;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	border-bottom-left-radius: 30px;
	border-bottom-right-radius: 30px;
}              
*/

/* #third_left_side {
	width: 225px;
	margin: 15px auto 0;
	height: 200px;
	float: left;
	background: black;
} */

/* RIGHT BLOCKS 

#right_side {
    clear: both;
	width: 225px;
	margin: -625px auto;  
	height: 300px;
	float: right;
	background: #2E8B57;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	border-bottom-left-radius: 30px;
	border-bottom-right-radius: 30px;
}

#second_right_side {
    clear: both;
	width: 225px;
    margin: -300px auto 0; 
	height: 300px;
	float: right;
	background: #8B4513;
	color: blue; 
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	border-bottom-left-radius: 30px;
	border-bottom-right-radius: 30px;
}               */


#right_side {
    clear: both;
    width: 225px;
    margin: 0px auto;  
    height: 300px;
    float: right;
    background: #2E8B57;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

#second_right_side {
    clear: both;
    width: 225px;
    margin: 15px auto 0; 
    height: 300px;
    float: right;
    background: #8B4513;
    color: blue; 
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
} 

 #third_right_side {
    clear: both;
    width: 225px;
    margin: 15px auto 0; 
    height: 300px;
    float: right;
    background: #8B4513;
    color: blue; 
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

 #four_right_side {
    clear: both;
    width: 225px;
    margin: 15px auto 0; 
    height: 300px;
    float: right;
    background: #8B4513;
    color: blue; 
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
} 

/*#content {
	margin: 15px auto 15px;
	width: 550px;
	min-height: 623px ;
	background: #DCDCDC;
	color: black;
    position: relative;
} */

#content {
    margin: 15px 0px 15px;
    width: 780px;
    min-height: 623px ;
    background: #DCDCDC;
    color: black;
    position: relative;
}


#content p {
    text-align: justify;
    text-indent: 1.0em;
    margin: 0;
    padding: 15px 15px;
	cursor: text;
    font-size: 15;
}

/* FOOTER */

#footer {
	clear: both;
	width: 1024px;
	height: 50px;
	margin-top: -50px;
	margin: 0px auto 0px;
	background: #D3D3D3;
	position: relative;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.button {
    -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
    -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
    box-shadow:inset 0px 1px 0px 0px #ffffff;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #15c2b4), color-stop(1, #141b69) );
    background:-moz-linear-gradient( center top, #15c2b4 5%, #141b69 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#15c2b4', endColorstr='#141b69');
    background-color:#15c2b4;
    -moz-border-radius:42px;
    -webkit-border-radius:42px;
    border-radius:42px;
    border:1px solid #ffffff;
    display:inline-block;
    color:#0f070f;
    font-family:arial;
    font-size:17px;
    font-weight:bold;
    padding:7px 26px;
    text-decoration:none;
    text-shadow:1px 8px 31px #ffffff;
}.classname:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #141b69), color-stop(1, #15c2b4) );
    background:-moz-linear-gradient( center top, #141b69 5%, #15c2b4 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#141b69', endColorstr='#15c2b4');
    background-color:#141b69;
}.classname:active {
    position:relative;
    top:1px;
}


.separator { 
  background:black; 
  font-size:1px; 
  height:1px; 
  overflow:hidden;  
  width:780px; 
} 


.right{
    float: right;
}

.left{
    float: left;
}

.cat{ 
    font-size: 12;
    color: #191970;   
}

/* ПАГИНАЦИЯ */


#pagination{
    width: 350px;
    height: 25px;
    bottom: 0;
    margin: 0 200px 0;
}

.navigation {
color: #636363;
border: 0px;
font-family: tahoma;
}
 
.navigation a:link,
.navigation a:visited,
.navigation a:active {
display: inside;
text-decoration: none;
color: #FFF;
background-color: #13739B;
border: 1px solid #e1e1e3;
padding: 3px 6px;
font-size: 11px;
}
 
.navigation a:hover {
background-color: #24323B;
color: #ffffff;
border-color: #e1e1e3;
}
 
.navigation span {
text-decoration: none;
background-color: black;
padding: 3px 6px;
border: 1px solid #e1e1e3;
color: #fff;
font-size: 11px;
}
.navigation span.nav_ext {
border: none;
background: transparent;
}

 #login_form {
    clear: both;
    width: 225px;
    margin: 15px auto;  
    height: 200px;
    float: right;
    background: green;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px; 
 }